﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Domain
{
    public class ProductType
    {
        [Key]
        [StringLength(5)]
        public string ProductTypeId { get; set; }
        
        [Required]
        [StringLength(100)]
        public string NameEn { get; set; }

        [Required]
        [StringLength(100)]
        public string NameRu { get; set; }

        [Required]
        [StringLength(100)]
        public string NameAm { get; set; }

        
        [StringLength(255)]
        public string DescriptionEn { get; set; }

        
        [StringLength(255)]
        public string DescriptionRu { get; set; }

        
        [StringLength(255)]
        public string DescriptionAm { get; set; }
        public bool IsEndProduct { get; set; }
        public short SortKey { get; set; }

        public short DoubleSideOption { get; set; }

        public virtual ICollection<PrintMedia> PrintMedias { get; set; }
        public virtual ICollection<FormFactor> FormFactors { get; set; }
    }
}

